package com.sentinel.demo01.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping
public class DirectFailController {
  
  @GetMapping("/directFail/{id}")
  public String directFail(@PathVariable("id") String id) {
    return "这是返回的字符串: " + id;
  }
}
